<html>
<head><meta charset="utf-8"><title>shortcut commands · t-release/triagebot · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/224082-t-release/triagebot/index.html">t-release/triagebot</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/224082-t-release/triagebot/topic/shortcut.20commands.html">shortcut commands</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="242787485"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/224082-t-release/triagebot/topic/shortcut%20commands/near/242787485" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/224082-t-release/triagebot/topic/shortcut.20commands.html#242787485">(Jun 15 2021 at 19:34)</a>:</h4>
<p>So <span class="user-mention" data-user-id="415892">@Llandy Riveron Del Risco</span> has implemented shortcut commands in <a href="https://github.com/rust-lang/triagebot/issues/1381">triagebot#1381</a>. I'm inclined to merge the PR, but I thought I'd give folks a chance to object if this feature is not desired.</p>
<p>In particular these commands allow you to do </p>
<div class="codehilite"><pre><span></span><code>@rustbot ready
@rustbot author
</code></pre></div>
<p>to adjust the state of the PR.</p>
<p>Actually, writing about it now, I'm not sure why they're called "shortcuts" -- they seem to be more like "status updates".</p>



<a name="242805929"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/224082-t-release/triagebot/topic/shortcut%20commands/near/242805929" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Llandy Riveron Del Risco <a href="https://rust-lang.github.io/zulip_archive/stream/224082-t-release/triagebot/topic/shortcut.20commands.html#242805929">(Jun 15 2021 at 22:06)</a>:</h4>
<p>The name "shortcuts" came up because it's a faster/less verbose way to do an already existing operation and leaving it open for further additions</p>



<a name="245471597"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/224082-t-release/triagebot/topic/shortcut%20commands/near/245471597" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> apiraino <a href="https://rust-lang.github.io/zulip_archive/stream/224082-t-release/triagebot/topic/shortcut.20commands.html#245471597">(Jul 09 2021 at 17:20)</a>:</h4>
<p>personally I'd love a way to quickly have the bot throw labels (without me remembering the full label name and the casing of it i.e. rustbot does not recognize <code>s-waiting-on-team</code> but does recognize <code>S-waiting-on-team</code></p>



<a name="245471626"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/224082-t-release/triagebot/topic/shortcut%20commands/near/245471626" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> apiraino <a href="https://rust-lang.github.io/zulip_archive/stream/224082-t-release/triagebot/topic/shortcut.20commands.html#245471626">(Jul 09 2021 at 17:20)</a>:</h4>
<p>I dont have github privileges to bulk assign labels on issues so every week I need to singularly massage a bunch of issues with the <code>to-announce</code> label.</p>



<a name="245471763"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/224082-t-release/triagebot/topic/shortcut%20commands/near/245471763" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> apiraino <a href="https://rust-lang.github.io/zulip_archive/stream/224082-t-release/triagebot/topic/shortcut.20commands.html#245471763">(Jul 09 2021 at 17:22)</a>:</h4>
<p>I think this PR could also address <a href="https://github.com/rust-lang/triagebot/issues/553">https://github.com/rust-lang/triagebot/issues/553</a>?</p>



<a name="245471833"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/224082-t-release/triagebot/topic/shortcut%20commands/near/245471833" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> apiraino <a href="https://rust-lang.github.io/zulip_archive/stream/224082-t-release/triagebot/topic/shortcut.20commands.html#245471833">(Jul 09 2021 at 17:22)</a>:</h4>
<p>(yup, I think)</p>



<a name="245474934"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/224082-t-release/triagebot/topic/shortcut%20commands/near/245474934" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/224082-t-release/triagebot/topic/shortcut.20commands.html#245474934">(Jul 09 2021 at 17:46)</a>:</h4>
<p>it seems like the shorcut commands could help here?</p>



<a name="245474954"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/224082-t-release/triagebot/topic/shortcut%20commands/near/245474954" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/224082-t-release/triagebot/topic/shortcut.20commands.html#245474954">(Jul 09 2021 at 17:47)</a>:</h4>
<p>we might need to add some new ones</p>



<a name="246699924"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/224082-t-release/triagebot/topic/shortcut%20commands/near/246699924" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> apiraino <a href="https://rust-lang.github.io/zulip_archive/stream/224082-t-release/triagebot/topic/shortcut.20commands.html#246699924">(Jul 21 2021 at 10:04)</a>:</h4>
<p><span class="user-mention" data-user-id="415892">@Llandy Riveron Del Risco</span> your patch to enable shortcuts was merged, great! I've checked <a href="https://github.com/rust-lang/triagebot/wiki/Shortcuts#configuration">the wiki</a>, if I understand correctly all shortcuts available are enabled when adding the new section <code>[shortcut]</code> in the triagebot.toml file, correct? Shortcuts don't need to be enabled one by one</p>



<a name="246701394"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/224082-t-release/triagebot/topic/shortcut%20commands/near/246701394" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/224082-t-release/triagebot/topic/shortcut.20commands.html#246701394">(Jul 21 2021 at 10:23)</a>:</h4>
<p>That's correct: <a href="https://github.com/rust-lang/triagebot/blob/ef61cb1f3031f33df0cd77333a8847c3b747cd4b/src/config.rs#L86-L90">https://github.com/rust-lang/triagebot/blob/ef61cb1f3031f33df0cd77333a8847c3b747cd4b/src/config.rs#L86-L90</a></p>



<a name="246707341"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/224082-t-release/triagebot/topic/shortcut%20commands/near/246707341" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Llandy Riveron Del Risco <a href="https://rust-lang.github.io/zulip_archive/stream/224082-t-release/triagebot/topic/shortcut.20commands.html#246707341">(Jul 21 2021 at 11:39)</a>:</h4>
<p><span class="user-mention silent" data-user-id="250987">apiraino</span> <a href="#narrow/stream/224082-t-release.2Ftriagebot/topic/shortcut.20commands/near/246699924">said</a>:</p>
<blockquote>
<p><span class="user-mention silent" data-user-id="415892">Llandy Riveron Del Risco</span> your patch to enable shortcuts was merged, great! I've checked <a href="https://github.com/rust-lang/triagebot/wiki/Shortcuts#configuration">the wiki</a>, if I understand correctly all shortcuts available are enabled when adding the new section <code>[shortcut]</code> in the triagebot.toml file, correct? Shortcuts don't need to be enabled one by one</p>
</blockquote>
<p>Correct! <br>
We decided to just enable the shortcuts at the top level, so when enabled every current and future ones will be enabled</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>